﻿using GrainManage.Web.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GrainManage.Web.Models.Price
{
    public class UpdatePriceModel : AddPriceModel
    {
        [Required(ErrorMessageResourceType = typeof(PriceResx), ErrorMessageResourceName = "PriceIDRequired")]
        [Range(0, int.MaxValue, ErrorMessageResourceType = typeof(PriceResx), ErrorMessageResourceName = "PriceIDRanged")]
        [Display(ResourceType = typeof(PriceResx), Name = "PriceID")]
        public int PriceID { get; set; }
    }
}